﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WebApiClient;
using WebApiClient.Attributes;

namespace ARchGL.Platform.FileServer
{
    [TraceFilter(OutputTarget = OutputTarget.Console)]
    public interface IFileServerApi : IHttpApi
    {
        /// <summary>
        /// 触发转换模型操作
        /// </summary>
        /// <returns></returns>
        [Timeout(10000)]
        [HttpPost("/file/api/v1/FileConvert/convert-model")]
        ITask<AjaxResponse<dynamic>> ConvertModel([JsonContent] List<ProjectModelInfo> input);
    }
}
